package com.agadmin.manage.vo.request.menu;

import com.agadmin.api.ServiceEnumApi;

import com.agadmin.config.mateConfig.Meta;
import com.agadmin.request.BaseRequest;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.extern.slf4j.Slf4j;


@Slf4j
@Meta(cmd= ServiceEnumApi.Menu,path="menuGetListManage")
public class MenuGetListRequest extends BaseRequest {

    @NotNull(message = "userName不能为空")
    @NotBlank(message = "userName不能为空")//制定一个规则 name不能为空
    private String userName;

    private String roleName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
